<template>
    <div>

books 组件  ----{{$route.params.id}}

books组件 -----{{$route.query.id}}----{{$route.query.name}}
    </div>
</template>

<script>
export default {
    data() {
        return {

        };
    },
    created() {

    },
    mounted() {

    },
    methods: {

    }
};
</script>

<style scoped   lang='css'>

</style>
